package edu.sandau.b230111.b23011125.Global;

import edu.sandau.b230111.b23011125.Model.Problem;
import edu.sandau.b230111.b23011125.Model.ProblemList;

import java.util.List;

public class ProblemListWithProblems {
    private List<Problem> problems;
    private String listid;
    private Integer problemcount;
    private String title;
    private String description;
    public ProblemListWithProblems(ProblemList problemlist, List<Problem> problems){
        this.listid = problemlist.getListid();
        this.problemcount = problemlist.getProblemcount();
        this.title=problemlist.getTitle();
        this.description=problemlist.getDescription();
        this.problems=problems;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getProblemcount() {
        return problemcount;
    }

    public void setProblemcount(Integer problemcount) {
        this.problemcount = problemcount;
    }

    public String getListid() {
        return listid;
    }

    public void setListid(String listid) {
        this.listid = listid;
    }

    public List<Problem> getProblems() {
        return problems;
    }

    public void setProblems(List<Problem> problems) {
        this.problems = problems;
    }

}
